package org.seven.cpcrkapp.model;

import java.util.Map;

public class Result {
    private boolean success;
    private String msg;
    private Map<String, Object> info;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Map<String, Object> getInfo() {
        return info;
    }

    public void setInfo(Map<String, Object> info) {
        this.info = info;
    }

    public Object get(String key){
        return info.get(key);
    }
}